shell.c logic to draw prompt seperated into a function; draw_prompt()