Implemented ls -l command in C.