main forward pass
function update_fitness(X, Y, Networks) do
    foreach network in Networks do
         foreach x in X do
              y_predicted = network output
              error = |y_predicted - Y|
         end
         network.fitness = sum(error)
    end
end