Implemented ls command.