Added functionality to check int32

Added functions to check whether a string value is an integer and within
the 32 bit limit.