Man sentenced for Oct. 2021 triple murder