rank matrix was too large, needs one per page
laid down some sketch code to try and understand inlinks and outlinks. now need to write the tests and debug