Tidying:

Tidied up assignment and added lots of commenting for submission.
Now freezing any more additions and concentrating on submission.
Last Minute Change to compound expressions as they were not detected,
and only coincidentally handled by the default method for
handling undetected lines which is not good. Changed this. Now detected
again.