completed assignment 4: 'NN learning'