Added exercise of lecture 4