A neural network that evolves to solve a maze task