In my code i need to read my text file and create a 40x40 matrix however my array only reads the first line Here is my code;
String worldData = "worl