Submitting Taking a Rest

Apologies for the lateness and the cramped look to some parts of the
code. It has gone through many iterations and I don't have time for
clean up.