Implement simple code to convert strings to/from integers.