I as of right now have no code. I'm just stuck on the problem and don't know how to start. I'm a beginner programmer so don't expect too much from me.
The assignment can be found here: http://www.cas.mcmaster.ca/~khedri/w...ssignment4.pdf
If someone can just guide me that would be greatly appreciated. It's not a difficult task for some of you, but it is for me.