implemented mark and toggle done. test cases updated.

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