Algorithm To Implement Queue Using Stack In Python