Fixed if statements
Fixed if statements, working on While loop. somehow the compare is
modifying the value of I, or whatever it was comparing.