Renamed CHAR function to CHR, and made it actually work

Renamed CHAR function to CHR, and made it actually work