Pairs lib

Signed-off-by: unknown <hlltchlltc@gmail.com>