Conway's Game of Life Implementation in Scala