Program to convert ascii to integer