Created ped.py

ped.py is added and checks are in the ipnb

I think lines 90:97 of the is_non_mendelian function could be optimized, but it works and seems fast enough currently.