#12 Removed unneeded function now implemented by a combination of existing functions
#12 Removed some empty space after some edited code was backed out
#12 Implemented a combination of functions to implement the moving of links within and between chains