My rendition of KMP in Go