Project 7 Correction

Changed from a while statement to a do while statement for better
cohesion.