Using Python 3.3.3 syntax

Convert string to integer