updating comments, adding 'cdl' function to list directory contents when entering a directory