as an algorithm-based guide to allow the reader to understand the thought process behind