From Neurons to Networks: Deep Learning Foundations