added removecommas function, left comma_pattern_check unfinished, which is to be used in num_check funciton later