Second law of thermodynamics with quantum memory — arXiv2