Finished prog assignment 1.