Assignment 1 almost finalized. Two functions to test.