Per request of belisarius, here I reproduce my comment to a recent question, where the OP asked basically to solve his/her problem from scratch:
Sorry, it's not going to happen. Show us some effort, learn the basics of Mathematica programming, meet us half way. There are tons of resources available, on this site and elsewhere. We are happy to help people who have specific difficulties and show us specific minimal code examples which exhibit them, but this is not the place to get your work done for you from scratch.
I realize that this may sound a bit harsh, and quite unlike the other greeting comments, but I also agree that sometimes we should state the rules of the game in plain English, and tell people straight, that as they expect certain amount of help from us, there are things we expect from them in return - basically to do their homework.
Note that such "greetings" as this one above, seem only appropriate in response to attempts of a direct abuse of our site and our folks here, by people who clearly expect us to do all the work for them from scratch. I don't advocate using this form of reply in less extreme situations.
copyable snippet:
Sorry, it's not going to happen. Show us some effort, learn the basics of Mathematica programming, meet us half way. There are [tons of resources](https://mathematica.stackexchange.com/questions/18/where-can-i-find-examples-of-good-mathematica-programming-practice)
available, on this site and elsewhere. We are happy to help people who have specific difficulties and show us specific minimal code examples which exhibit them, but this is not the place to get your work done for you from scratch.