Create KMP.java

Implementation of the KMP algorithm
Merge pull request #1 from RajanParmar/patch-1

Create KMP.java