added intial code for game of life