first working draft of the game of life algorithm thing