Added 2 functions for number range maniulation