A simple Javascript implentation of Conway's game of life