implemented the display and visual representation of the scoring
fixed bugs in score calculation