Conway's game of life in Haskell