Finished first part of assignment 7.