I remember having to learn that expression in Maths when I was about sixteen. It is actually
The first term is x^0/0! and the second term is x^1/1!
I have added code tags as Stephan suggested and you can see how much better it is to read.
You need to keep track of the division; eventually it will become vanishingly small, or you get ∞, in both of which cases you will have to stop your iteration
Please note that it's not good forum etiquette to delete your complete post once your question is answered.
One of the purposes of a forum is as a source of answers for people who are searching later on. If you delete the whole question, then the whole post will not be useful for people who have a similar problem later and find this post by searching.
So, please do not delete your original question when you've got your answer.