Fixed some code formatting problems

Added class="prettyprint" to pre tags that were missing them.