a exercise for deep learning