UVA 3n + 1 challenge
<p>I made this programm to solve the <a href="http://uva.onlinejudge.org/index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;category=3&amp;problem=36&amp;mosmsg=Submission%20received%20with%20ID%2010484879" rel="nofollow">Uva problem</a>. </p>

<p>I tried the examples and the output was correct, but I get Wrong Answer. Here is my code: <a href="http://pastebin.com/bvQQ8UC7" rel="nofollow">http://pastebin.com/bvQQ8UC7</a></p>
