greedypermutation
tests
