Connect Four implementation in Scala