Fix goostats error when using options -J 100 -r

goostats was returning an error with the options -J 100 -r in lesson 5.
-J was being passed to head which returned invalid option. To fix this
I add option handeling with getopts.
Remove newline
Merge pull request #633 from jensv/fix-shell-05-script-goostats

Fix shell 05-script goostats option error
Improvements to the Introduction and Simple Patterns sections of intermediate/regex.

Main changes:
- Fixed the links to other sections and the Glossary.
- Added files containing the 'evil' data to data/evil.
- Created some exercises for the Simple Patterns section.
- Corrected a few typos and made some paragraphs clearer.
- Split up the Simple Patterns section into subsections.
- Added the intermediate/regex section to the Makefile.
- Added an index page.