getting a seg fault inside findhighscore fun