Finish the hw8 in cs61b