public void getExits() {
        if (getNExit() == null && getSExit() == null && getEExit() == null && getWExit() == null) {
            System.out.println("There are no exits!");
        }
        else {
            String sExits = "";//the string of exits
            if (oneExit() == true) {
                System.out.print("There is one exit to the ");
            }
            else {
                System.out.print("There are exits to the ");
            }
            if (getNExit() != null) {
                sExits += "north, ";
            }
            if (getSExit() != null) {
                sExits += "south, ";
            }
            if (getEExit() != null) {
                sExits += "east, ";
            }
            if (getWExit() != null) {
                sExits += "west, ";
            }

            sExits = sExits.substring(0, sExits.length() - 2);
            System.out.print(sExits);
            System.out.println(".");
        }
    }