Added error messages.
Added sanity checks for input
Merge branch 'master' of https://github.com/ucam-cl-dtg/urop-2013-handins