Mapping cone of complexes