converts output of pepstats to a nice table