Tutorial for C from Drexel site, only slightly modified.