Please let me welcome you to LQ.
The template response you will get for asking such poorly structured question will be something like this:
1. What have you done so far?
2. Tell us what doesn't work
3. What error messages are you getting?
4. We're more than willing to help you out only if you have already worked on something instead of asking how to solve your homework.
This is not to bash new members but the harsh reality that you are asking others to solve your problem for you is imminent in your post. Maybe I am wrong and you can instead tell us what you have done so far, tell us your challenges, and we can pick up from there.
But in any case I don't think your question is Linux related and more on programming. I believe there's an appropriate subforum for that.