Added some comments to the code for those learning how to program! :D