Added Exception handling: InvalidArgumentException
Merge pull request #3 from PabloGancharov/master

Added Exception handling: InvalidArgumentException