Design and implement a program to display each directory entry information (files and directories) of current directory, and with "chdir" call to change (current working directory) to its subdirectory.