While loop problem

Yes - with a data set of this size there is no need to bother with the loop while.