Nobody is going to help you if you don't give some of your own code. It looks like you're just asking somebody to do the assignment for you. Nobody here who knows how to do it is just going to give you the code.
I could be a jackass about it, but I'm not going to. If you give some code, or ask specifically what you want help on, you're going to get a lot more help than just posting your prompt hoping someone will give you the answers.
Erm, im sorry. I must be too stpid in this and should be dropping lol... but im trying hard to understand what u are trying to correct, can u explain a bit easier for beginner noob like me ? Im sorry for the stupidity.