Reviewed the 1st chapter, add some test codes.