Added queue functions - untested
Merge branch 'master' of https://github.com/iuyhcdfs/3331
Merge branch 'master' of https://github.com/iuyhcdfs/3331