Hello and Welcome to LinuxQuestions,
This sounds like homework to me and we are not eager to do it for you. As pointed out in the LQ Rules
Do not expect LQ members to do your homework - you will learn much more by doing it yourself.
On the other hand, if it's not homework then you should put in the work yourself, start reading and searching (with Google for example) and learn. Then, if you encounter problems or have questions about something in particular, that's when you turn to LQ. It basically comes down to:
Show us what you've got! Tell us where it fails or where you have questions. That's when you'll find LQ users at their best.