This is not an appropriate question for this forum. If you attempt your solution yourself, and run into a problem, then we will all be more than happy to help. But you can't simply ask for a complete solution to your problem. We aren't here to do your homework/assignment for you. Please read the
Posting Guidelines.
MODERATOR