added getRandom in range functions to Sugar