added getInvalidWay, getPresentWay to L2Cache