Latest changes

latest code in which Score is not getting calculated correctly