shell.c: Added a ps command that lists active threads