Executing programs using execvp(), fork(), and wait()