Coincidentally, yesterday or so someone in one of Pascal's facebook group posts EXACTLY the same assignment. So, please, do the homework yourself. You may ask where you're stuck after showing what you have done so far, not the other way around. Otherwise, you're allowed also to post a bounty, i.e. pay someone willing to do the assignment for you. All in all, nothing is free. Either you force your brain to be smart or you force your wallet to be empty.