Finished solutions to "Setting up the models"