Added score calculation and display at end