add miniSMAC2D_ref source code