I would say good luck with that exercise, and if you have any specific questions let us know. :(happy):
But now it looks like you want people here to write a program, so that you can put your name above it.
And that is not gonna work here.
edit Also trying to buy homework for $30 at http://www.freelancer.com/projects/C...asy-Tasks.html