Graph results
Graph frequencies and ratios at the end. We should probably use (the annoying) matplotlib for this, or find a more elegant and high-level library. These could be written to file and displayed at the end (but check if there is an X server running).