Making a Mastermind Game with HTML, JavaScript, and CSS: Part 4 (Adding Functions)