Queue Python Code Using Functions In Arduino Code