changed pedigree-file input to actual ped format and added in basic checks for valid phenotype and sex values