public Memory(int speed, Queue []inputBuffers, Queue []outputBuffers)
    {
        //passes the constructor values to the base class SwitchingFabric
        super(speed, inputBuffers, outputBuffers, VERTICALBUSES);
        //indicate has no memory
        hasMemory = true;
        //set the recent bus, because it never changes for this fabric type
        recentBus = 0;
        //hold packets in Switching Fabric internal memory
        internalMemory = new ArrayList<RouterPacket>();
    }