Created a function that drives the entire process of building the shopping model and creating a submission file.