implement slow working version of game of life in new tab