Updating the Program class so that it runs.