Completed assignment 3.