Completed assignment 4.