Kernel and Range of an Endomorphism are Invariant