Milestone 5

  +150

Take my working code for the Mazur neural network and extract three functions: feed_forward, calculate_error, and back_propagate. They may continue to use global variables for the weight matrices and node vectors. The calculate_error function should return the value of totalError.

Then write a main function that repeatedly calls the three functions for the inputs and targets specified in the article. It should print out the error after each cycle. Stop when the error falls below some threshold such as 0.01.