solution to permute