Rewrote PyDOOMS.get() to be iterative instead of recursive