Linear Queue Implementation In Python