Better variable handling in main.cpp
Add try-catch
Merge branch 'try-catch'

* try-catch:
  Add try-catch

Conflicts:
	semester3/practice4/code/main.cpp