how to use chr and ord in python