Long Exact Sequence for Relative Homology