Adaptive Finite Element Mesh-Refining Algorithm for L$^2$-error control