Lecture 6: Program your own Agent