Changed neural net and world

Slowly building a genetic algorithm for the neural network class.
The world now deletes the pointers to the object it has for possible
memory leaks.