finished peptide generator, it resides in module peptide for now as global method