added conway game of life and allowed modifying the x y coords of the grid