https://dev.to/md_mubashir/next-permutation-4o2b