Fixed printing function. Also added a mode that creates random moves until a game is done to create inputs for the learning program