Holy thread resurrection batman. Daba, the post you are replying to is at least 7 years old. Thread resurrected by a new user asking for homework assistance without specifying any details.
Coljoy, may I suggest you start a new thread for your question, then specify the details of your assignment and show us what you have so far. Plenty of people willing to help you out here, but we won't do your homework for you. You will most likely be asked to do the majority of thinking, no point in us doing the leg work as you will learning nothing from that.