Implemented the list done functionality.

test cases updated.

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