Create KMP.java

Knuth - Morris- Pratt algorithm implementation for linear pattern matching 
Time Complexity : 0(n)
Space Complexity : 0(n)