Your post looks more like a "do my homework for me" post than a question.
If you need help please give details on what the code should do, your question, and any related code you have made so far....