Added methods inside the range class to check if a value falls inside
the range.
Added the tests