This is a bit of a ramble, unfortunately, and actually sounds like thespecification of your homework.Please ask very specific questions for the areas you're having trouble in.Also, show the code you've already developed.