Add first version of the how-it-works doc.

This document tries to describe at a high level how the source tree actually
implements the game.