finished BF KR KMP
finished BM
Merge pull request #210 from f0rward/assignment3

13307130195_CHENSHAOXIANG_assignment3