a poor attempt at Conway's game of live in Scala