public String toString(){
        StringBuffer map = new StringBuffer( );

        //goes through all the rooms and appends -[   ]-
        //if there are any people in the room, it cuts out a space and adds the first letter of their names.
        for(int y=0; y<worldHeight; y++){
            for(int x=0; x<worldWidth; x++){
                if (this.getRoom(x,y) != null){
                    map.append(this.getRoom(x,y));
                    if (this.getRoom(x,y).getMoversNum()>0){
                        map.delete(map.length()-3, map.length()-3+this.getRoom(x,y).getMoversNum());
                        for(int z=0; z<this.getRoom(x,y).getMoversNum(); z++){
                            map.insert(map.length()-1, this.getRoom(x,y).getMovers().get(z).getName().substring(0,1));
                        }
                    }
                }
                else{
                    map.append("     ");
                }
                map.append("-");

            }
            //this just cuts off the extra dash at the end of a line.
            map.delete(map.length()-1, map.length());
            map.append("\n");
            map.append("\n");
        }
        System.out.println(people.size());
        return map.toString();
    }