Implemented int(str)