added table output format to extract_primers.py