reading and writing high score functionality created