Code from lecture 1/29

Video here http://www.youtube.com/watch?v=gR2J-ZHrnK4