Queue Python Code Using Lists In Html