changed the stored canonical codes to ArrayList<Character> instead of ArrayList<Integer>