an implementation of conway's game of life in rails