Implemented a simple non-blocking queue.
Add blocking take method.
Merge pull request #7 from EasonLiao/queue

Implemented a simple non-blocking queue.