Command line version - the game now ends after the specified number of equations have been answered. The score is also printed out for the user