Added queue class for parsing, tree traversal, and recursion.