Further debuging, still same problems as last commit.
Resolves segmentation faults.

Code now runs, but there seems to be little evolving after generation n. 2.
Adds makefile