Return the status of the executed command
Use the STD foreach loop to construct the arg_c
Compile with warnings and pedantic flags

This also fixes any warnings
Return with an error status on cd failure