Double checked the command_array implemenatation fixed a few minor bugs. Also added test cases in s.sh. Lastly, MAJOR style check (added a lot of spaces).
Removed get_files function from execute-command.c
Added the sorting functionality to the commands. Used insertion sort.