Erlang implementation of Conway's Game of Life