Scientists solve mystery of ancient 'tree of life'