fixed pulling apart of data and integrated adiv

made the process of pulling apart data generic (i.e. traversing through
the generated files and extracting appropriate lines), and integrated
alpha diversity section (both parts testing and work fine!)