pairing function for integers. There are any references about pairing function for integers in here. you can look below.