Generate Binary Numbers Using Queue In Python Example Problem