This is an implementatoin of cluster algorithm to simulate the phase transition of simple 2D hard box.