This program uses exec functions and multiple functions to create a shell.