fixed Queue.clear() method
Merge pull request #83 from bonifaido/master

Fixing Queue.clear() method