Create kmp.php

Implementation of the Knuth-Morris-Pratt Algorithm in PHP