add lists, fix bug in to_list
list implementation