Permutation Substring Finder - Coding problem | OneNoughtOne