Added list.

With test cases too!