Guys I didn't mess up the modulo function. My mom is proud of me.