assignment 3 complete neural network forward propagation