Here you are an example and a couple of exercises about it. You can hand it in in class if you want to.