Well the Wiki link has at least one code example.
And I bet at least one of the couple of dozen links on the same page also have code as well.
Frankly, I don't think you've got the nouse to finish this assignment.
I'm finding it hard to believe you read the Wiki. More like you had a quick glance at it, then dismissed it as "useless" and posted your begging letter again.
It's your homework, make some more effort!
I'm not going to do it for you.