Print array of strings to console. Need FlattenArray.java to run.