Ruby implementation of an adjacency list and popular graph algorithms.