Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

1
  • 1
    Thanks. I guess that makes sense. I also realized that I'm using "illegal" operations in the above code (pushing to the front of a FIFO), but I don't think that changes anything. I reversed all of the operations, and it still works as intended. I'm going to wait a bit before I accept as I don't want to discourage any other people from giving input. Thank you though. Commented Jun 16, 2015 at 20:20