Added a new exception and declared the other variables.
updating
Merge branch 'lab1.1'