3rd commit - altered program to print value of  *  while less than 1000000