working on a permutaiton generator