Added sections on supervised and unsupervised learning.