Checks if the range contains the given point
bool contains(int point) { return start <= point && point <= end; }