Heap state update

revised heap state shell command:
add the heap command to the shell command list.
Converting tabs to spaces.
Converting tabs to spaces.