public void walk(){
		if(xPos + direction[0] > 9 || xPos + direction[0] < 0 || yPos + direction[1] > 9 || yPos + direction[1] < 0){
			xPos += direction[0];
			yPos += direction[1];
		}
		if(ownGarden.isAppleOnField(xPos, yPos)){
			ownGarden.removeApple(xPos, yPos);
			appleCache++;
		}
		

	}