added all basic code for functioning feedforward net
added important comments
refactored for 2 hidden layers