So you don't actually write any of your own code? That's sad, and means you're not learning much.

Tell us first what you think the code does and ask for correction/help understanding the parts...