What's wrong with the sample run you posted? What do you need help with?