Queue Implementation Using List In Python