You haven't read or understood the links twomers gave you, have you?

1) We don't do your homework.
2) Even if we wanted to, your description of the task is so vague and incomplete that we couldn't.

Try to do this yourself. If you get stuck, ask a specific question here, posting the code you already have. If you can't do it at all, you need to backtrack in your learning to the point where you stopped understanding things.

Thread closed.