Simple tool to recreate ls-l in c