Calculating Leap Year using While Loop