list.compare, list.reverse, list.from_array initial coding