flattenToLists

Returns three lists with separated values from list of triples.