Trinary star system