A simple javascript implementation of Conway's game of life