tictac without error checking or graphics
main method