My version of Conway's game of life implemented with javascript