Initialise graph
add_node method
Moved add_node code from has_node (wrong method) to add_node method
has_node method
add_edge method
get_nodes method
get_outlinks method
get_inlinks method
filled in str method