hw4 has been finished. Pay attention to the sentinel use and inheritence.