one way to implement ls command (not finish yet)
implement ls command