Implemented levels, win/loss

It is now possible to win/lose.  Levels can be created with
initialization functions and custom win/loss  functions.

(Also wrote up a readme file)