public boolean routePacket(DataPacket packet)
	{
		
		if(packet.getForwardMode() == ForwardMode.GREEDY) {
			if(!routeGreedy(packet)) {
				return false;
			}
		}
		else {
			if(!routePerimeter(packet)) {
				return false;
			}
		}
		
		return true;
		
	}