Added support for lists.
Code clean up.
Added a more complex test which builds a list by calling functions to perform calculations.