Done with Assignment 2 problems 1.a through 1.d