It took me a while but I finally got the hang of it. Comment for ideas!
i think this would work better in python maybe?
@ChezCoder what would u mean by work better?
@ChezCoder Nothing "works better" in one language to another besides compilation time and execution. Factually, this would work best in Assembly.