public synchronized String toString(){
        String stringgedField = "";
        for (int i = 0; i < this.getYLength(); i++) {
            stringgedField = stringgedField + '\n';
            for (int j = 0; j < this.getXLength(); j++) {
                if (field[j][i] == null) {
                    stringgedField = stringgedField + " ";
                }else{
                    stringgedField = stringgedField + field[j][i].getType();
                }
            }
        }
        return stringgedField;
    }