Infinite Loop Somewhere? :         
 So I'm Writing A Program To Take Items From A Given .txt File And Put Them Into An Array,Then From That Array, Depending On The Number, Print It Out As A Character. For Some Reason It Continually Prints 3 Spaces, Then 8 At Symbols, Creates A New Line And Repeats, Infinitely. I've Tried A Switch Statement (Which Is Commented Out) But It Did The Same Thing. Cloudberry Is The Array In Which It Reads From, And It Contains All The Correct Numbers.






                  while(read.hasNextLine()) {
               int nutmeg = 0;
               for(int x = 0; x < cloudberry.length;x++ ){
                   //String dragonfruit = line.substring(x,x+1);
                 for(int y = 0; y < cloudberry[x].length;y++){
 		//int nutmeg = Integer.parseInt(dragonfruit);
                     nutmeg = cloudberry[x][y];
                 switch (nutmeg){
                         case 1: 
                             System.out.print("@");
                             break;
                         case 2:
                             System.out.print("+");
                                     break;
                         case 3:
                             System.out.print(" ");
                             break;
                 }