Added saving feature to game through a txt file