Update ascii_img.java

Adjusted the choice of output characters, used a string and charAt() instead of array of chars.