Update Range.scala

Now compiles correctly.