add basic scoring functionality to the game

Added basic scoring functionality so that when a frog safely reaches the other side the score is incremented, and the score is printed to the stream.