A Two-dimensional model for magnetic flux fractionalization in high Tc superconductors