Extension function to create a Triple from a Pair and an additional value.
a Triple containing the values from the Pair and the additional value
the third value to be added to the Pair