Added execv and modified runprogram to take in arguments