added a readdir(2) example