fix deque erase, the end() iterator cannot be used as erase position.
Merge pull request #22 from absolute8511/fix-deque-erase

fix deque erase, the end() iterator cannot be used as erase position.