P45Cal, thank you very much for your awesome explanation, it really helped me understand where my issue was coming from! I think the easiest thing for me to implement would be iterating from the bottom up, and am going to give that a go right now.
Edit: it seems to have worked perfectly! Thanks again, so much!
|