set up tests for permutations method
permutations method working in ruby