Neural Network Learning Algorithms Through Programming