oh, no thanks it does help, and yeah i was a bit stuck with the whole thing, i had no idea how to approach the problem, and its not an assignment, im taking this class but the thing is its a masters degree class, and im still at bachelor classes, so im a bit behind on some subjects, thats why i was a bit confused with this thing he "explained" it to us but he said there was another way and that we should look it up, but not as an assignment but as self study..
so thanks so much for the help