Formated examples
Added gramma package
Moved code blocks in to figures