shell.c logic for &&, || and ; working with basic tests