removed giant switch statement, now have much better way of mapping characters (using the ASCII table)