improving printHorzArray() output