Introducing Yourself
When introducing yourself to someone for the first time start with "Hajimemashte". 
Then tell them your name by saying "[Your Name] des".  Finally, tell them it's nice to
meet them by saying "Dozo yoroshiku".
Thank You
Below are different forms of thank you going from less formal to more formal:
Doomo.
Arigato.
Doomo arigato.
Arigatogozaimasu.<Most commonly used form>
Doomo arigatogozaimasu.