Post the code that you have already, so we can help you rather than tell you...if you don't have any code then take an honest shot at it and come back with the errors or unexpected results you are getting.
I think you'll find that you learn a lot more if you learn from your own mistakes rather than just ask for answers...