Fixed include guards.
Clearer code for integer_range.
Added tests for integer_range.