Completed the error checking for HW10, and the messages for each error check when the issue is raised.