Add graph conversion algorithms and input files.

Add all six conversions of graph representations and input files.
Adjancency matrix -> List of edges
Adjancency matrix -> Lists of neighbours
Lists of neighbours -> List of edges
Lists of neighbours -> Adjancency matrix
List of edges -> Adjancency matrix
List of edges -> Lists of neighbours

Need some more refactoring and comments