using a deque instead of a list for a more performant data structure
Merge pull request #32 from jstnlef/fifo-fix

using a deque instead of a list as a more performant data structure