Experiments in learning scala by coding tictactoe in various ways