added thematicrange and overloaded the << operator for filling the range