Wait and Exec implemented; tested with forkwait programs and exectest