first while loop

wrote my first while loop.