A not-so-simple frequency analysis program