sample code for execl and execlp