Added our main program with the loop