Program game of life
added timing functions