Minor tweaks to the first chapter - section renames and fixing syntax highlighting
Initial import of chapter2 - functions