A population genetics module written in Python