Cleaned up the document with 80 column alignment, and added a short definition of loop invariants.