Kaggle competition code to create output to be scored