modified print function of class gamestats