4x4 grid java