Implemented loop, no nesting
commented out printing of list
contains hello world!