Added parsing code for *lists

Parsing code for previous commit.