Following the Coding Cookies RL tutorial and making modifications along the way