First complete version of the script to create the 2 datasets for the project.