private static char[][] getMap(int mapNumber) throws FileNotFoundException, IOException{
        
        /* this makes sure the numberformat is correct with numberlength changes*/
          String mapNumberTransformation = "00" + Integer.toString(mapNumber);
          mapNumberTransformation = mapNumberTransformation.substring(mapNumberTransformation.length()-3);
        /*  */
        
        //Find the parsed map according to a given number
        BufferedReader br = new BufferedReader(new FileReader( myUrlToMapsInDropbox + mapNumberTransformation + ".in"));
        
        //basic variable definition
        String[] mapRows = new String[200];
        String maprow;
        int maxColLen = -1;
        int rowLen = 0;
        
        //To read the map and save it as a char[][] i need to know which row has the most amount of signs, 
        //As long as theres another row to read, read it and see if is is longer than the longest row found
        
        for(; (maprow = br.readLine()) != null; rowLen++ ){
            mapRows[rowLen] = maprow;
            
            maxColLen = Math.max(maxColLen, maprow.length());
        }
        
        //now that sizes are know, its time to actually save the map.
        char[][] map = new char[rowLen][maxColLen];
        for(int r = 0; r < rowLen ; r++){
            for(int c = 0; c < mapRows[r].length(); c++){

                map[r][c] = mapRows[r].charAt(c);
                
                //if the player is found, then the startpositino is found for the testing
                if(mapRows[r].charAt(c)=='@' || mapRows[r].charAt(c)=='+'){
                    pR = r;
                    pC = c;
                }
            }
            for (int c= mapRows[r].length(); c < maxColLen; c++){
                map[r][c] = ' ';  
            }
        }
        return map;
    }