Solved CliqueTreeCalibrate in assignment 4.