finished ex4 program week 5 neural networks