Queue Class Python From Scratch