add program to build corpus
add iterations option