Move partitioning to a function
Merge pull request #11 from Kaggle-Practice-Group/fb-fct-partition-data

 Move partitioning to a function