* trying to ensure that correct solutions aren't cut out early.

* not sure how this algorithm works if implemented exactly as in the course textbook.

* pretty sure i'm wasting my time and i should just move on in the chapter because this is dumb