Implementation of Add not at the beginning

Implementation of Add not at the beginning