public String print(){
		char s[][] = new char[w][h];
		for( int i=0;i<w;i++)
			for (int j=0;j<h;j++){
        if (anet[i][j]==AGENT){
          s[i][j]='0';
        }
        else{
  				switch (net[i][j]) {
  				case DIRTY:
  					s[i][j]='*';
  					break;
  				case CLEAN:
  					s[i][j]='_';
  					break;
  				case WALL:
  					s[i][j]='#';
  					break;
  				default:
  					break;
  				}
        }        
			}
		for (Iterator it = agents.iterator(); it.hasNext();) {
			Agent element = (Agent) it.next();
			int x = getX(element);
			int y = getY(element);
			s[y][x]='@';			
		}
		StringBuffer res = new StringBuffer(" ");
		for (int i=0;i<w;i++){
			res.append(s[i]).append("\n ");
		}
		//res.append(lastAction).append("\n");
		return res.toString();
	}