modified bootgen class to take ploidy and type