format code.
Reimplement append using foldRight.
implement concat to make a list of list into a single list.