xxxxxxxxxx
1. Initialize weights and bias in the neural network
2. Calculate network output using forward propagation
3. Calculate error from real value and computed value
4. Update weights and bias using back-propagation
5. Repeat steps 2 to 4 until the error is below a certain threshold
or a given number of iteration is done