starting hw6
working naive string match