Finished Prog Assignment 2