code for making plots something like lineage through time, still needs some work