Assignment 1: Unit tests and functions completed.