Fix Interval notation

parentheses = exclusive and bracket = inclusive
and infinity is always parentheses.
Merge pull request #3 from robotbrain/quickmod

Fix Interval notation