Added directory example
Fixed code example indentation
Merge pull request #4 from AndreasHeiberg/master

Added directory example