Added chris's functions to file reader. destroy peer, insert peer, free link structure, and initilize link structure.