added MTA lab 1

I wanted to make the error checking require less code but couldn't think of a better way, any ideas?