Improved Range.as slightly and added Unit Testing

Hello.  I fixed a bug in the overlapsWith() function of your Range class.  I also added a few more comments and functions to your Range class.  Feel free to discard all the unit testing for the Range class if you don't need it.