readdir exercise done