corrected a error in num_check, the -ve sign number summation is pending correction