Here lies the sacred path, a binary pilgrimage of discovery. Eight steps to enlightenment, or at least a really cool coding challenge.
May the bits of your code be ever in thy favor.