public Ocean toOcean() {
    Ocean newOcean = new Ocean(width, height, starveTime);
		int x=0;
		int y=0;
		for(TypeAndSizeAndStarve runs: runLength)
			for(int i = 0; i<runs.getSize(); i++){
				if(y==width){
					x++;
					y=0;
				}
				if(runs.getType() == 1){
					newOcean.addShark(y, x, starveTime);
					y++;
				}
				else if(runs.getType() == 2){
					newOcean.addFish(y, x);
					y++;
				}
				else
					y++;
			}
			return newOcean;
  }