Create titanicdata.py

Splits data into male and female datasets.