Week 10 Lab fixes

- added rules 8 and 9
- debugging (initialise Serial port and pin 13; convert ASCII codes to
rule numbers function added)