implemented necessary functions to make EvenNumber a range