Added functions isInteger & stringToInt.

I reckon these functions can be handy when an input is given as a string and it needs to be checked if it is an integer number for some reason.