in reply to Reaped: explain code

First, update your node to add code tags around your code. See Writeup Formatting Tips.

Next, please add a specific question. What part of your code do you understand, and what part do you not understand?

Does your code run? Does it do what you want it to do?

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.