[Core]: Runtime memory error fixes

Fixes for some memory errors at runtime in the constructors for the GenePool
classes. Still WIP.

Also added toString() functions to all the GenePool classes.

Signed-off-by: Sebastian Lenartowicz <slenarto@uoguelph.ca>