Added a sketch of term project solution.

This is the start of a proposed solution without error checking,
the structure of which is far from necessarily usable. The current
implementation does at least not absolutely correct, for instance
the status emitted is wrong as asserted by the simple testbench.