Corrected spelling, added code examples, as well as some other small modifications

Code examples for Python and C and requisite latex machinary to produce boxes added.