Implementation of NeuroEvolution of Augmenting Topologies (NEAT) algorithm