program for while loop