This repository contains the code for a tf-idf Search Engine which can measure the centrality of any given graph, utilising Dijkstra's algorithm. It also contains a working implementation of the Lance Williams Algorithm, allowing for the both single and complete linkage of hierarchical clusters.