whole bunch of changes
infinte cycles, exception handling, argument parsing
Merge branch 'master' of https://github.com/spolks-2013-2014-sem1/050503_skuridzyn