added initial functions for allele and genotype frequencies.
moved functions into a class.
added python notebooks.