address #6 (code snippets)

code snippets are correctly styled, captioned, and labeled.
changed figures width
Merge remote-tracking branch 'origin/master'