Adding methods for CheckIfInteger and CheckIfInRange