GnomeSort py working