Update cmd_ls.c

implement ls command