Classes for modelling the L Game in Scala