Just play around with it and see. For best results activate turbo mode.(shift button+green flag)
You may of seen this before on @marcoocram's account. It's also my account so I post better versions of previous programs here. I fixed some bugs and added more colors. This my cs50 program. I am watching the courses online. Go give cs50 a follow!