public Ocean toOcean() {
	  // Creates an Ocean object with width, height, and starveTime equal this RunLengthEncoding
	  // object's respective values. The method then iterates through each node of the list in
	  // order to set the Oceans tiles to the appropriate values according to each run.
	  
	  Ocean returnOcean = new Ocean(width, height, starveVal);
	  Run currentRun = getFirst();
	  int i = 0;
	  
	  while(hasNext(currentRun)) {
		  
		  for(int x = 0; x < currentRun.getRunLength(); x++) {
			  if(currentRun.getRunType() == Ocean.SHARK)
				  returnOcean.addShark(i % width, i / width, currentRun.getHungerVal());
			  else if(currentRun.getRunType() == Ocean.FISH)
				  returnOcean.addFish(i % width, i / width);
			  
			  i++;
		  }
		  currentRun = currentRun.getNext();
	  }
	  
    return returnOcean;
  }