Lists and Input

Implemented chained lists and input