get rid of recursion from Allele.reacheable()
make some functions take iterators rather than containers
add two combinatorial functions (generate all in k-selection and
multinomial coefficient)
stop using recursion in AFS.  Also fixed Pr(A|B,T).