Deep Sort Python Example Program