private void printScore(){
        System.out.println();
        int[][] temp = new int [25][50];
        for (int Y = 0; Y < 25; Y++){
            for (int X = 0; X < 50; X++){
                Node tempNode = map[Y][X];
                if (tempNode != null){
                    temp[Y][X] = tempNode.getFinalCost();}
                else {
                    temp[Y][X] = 0;}
                if (Y == endY && X == endX){
                    System.out.print ("F ");
                }
                else{
                    System.out.print (temp[Y][X] + " ");
                }
            }
            System.out.println();
        }
    }