added score class
updateScore function change
added score class file