added neural network to ex3