implemented exec, wait and a dummy shell