split game of life class into .h and .cpp files; added makefile