ISSUE-5: use factory method for exception
ISSUE-5: added test
ISSUE-5: throw exception for division by zero
Merge pull request #11 from Airblader/ISSUE-5

Issue 5