Update Shell.c

Issue: if inputBuffer contains only space, command will become NULL which leads to a segmentation fault error later on.
Fix: made sure command is never NULL.