Wow, amazing. I like your
Code:
sign = -sign;
Everytime it runs the code it goes +- +-... amazing. Simple but amazing, I wish I had more insight, perhaps take me a while

And i used \n to make new lines.