Form pairs from two lists

List A

List B

Generated pairs