Functions for parts 1 and 2 implemented.
Short report written. Heading home now.