ascii table to array and vice versa in C