This is the program for project eulers first problem