created input output for beginning a game