This sounds like homework. Per the LQ rules, we are not here to do your homework for you. And by asking someone else to do it you are only hurting yourself.
You should try it yourself, do some reading, and see how far you can get. Once you have something you can post it here and ask for help.