adding code from 3nd lecture
Merge pull request #1 from novotnyr/lecture-2013-12-02

adding code from 3nd lecture