working on back propagation algorith. compiles