Add a few basic functions to ints

These are heavily based on the string pkg
in go's std lib