graphing: wrap everything up into begraph, add new read length histogram function