Minimal free resolution of monomial ideals by iterated mapping cone