implementation of 'ls' command in c