Complete function to find permutations of phone number