Example program to demonstrate the Range class in Scala