Perfect score calculation

fix some bug on score and add highest score.