A better way of learning what the code does is to run and debug through it. It will give you a good idea of what is happening inside the code.