Add Range assertions

Hi. I've implemented assertions for Range class. Hope you find it useful.