add some comment and test
Add comments in Data.hs
Signed-off-by: He-chien Tsai <depot051@gmail.com>