Finished the list command.

test cases updated (a little)

Signed-off-by: Nicholas Lum <nicholaslum444@hotmail.com>