Fixed problem 5

The error was "for ( long....; i = i++)" should have been "for (long
....; i++)"