Completed assignment 1