Addded writeHighscore method, changed erase()