Sorry, I know this will come across as a little rude but, a "fun exercise"? My eyes hurt! Can't you do all this in a simpler notation? This looks like someone sneezed over a Scrabble set.
Edit: I guess that's more than a little rude. I apologise in advance, but really, this is so hard to read and I reckon it must be very hard to write correctly, let alone check the correctness off. There must be a better way!