Get the next biggest number with the same digits using Python | Hacker News Reader