Add ex4 (Neural Network with gradient regularization)