Implementing A Queue In Python