Added solution for Problem 107

This involved implementing a Graph library with the Prims algorithm