So he won't share huh? That's not very nice.
Ok, I'll tell you how to do this, but you have to promise me that you're going to go into your class tomorrow and tell every one of your classmates how to do it.
1. Open your Render Scene dialog
2. Make sure you have Mental Ray selected as your renderer
3. Select mental.ray.hidden.line.contours from the "Preset" list box at the bottom of the dialog. This will open another pop-up dialog, so make sure both presets are selected and click "Load"
4. Hit "Render" and you will get a black and white contour line rendering