A simulation of a Lazy L2 cache written in Java