expand (a-b)(a-c)(a-d)(b-c)(b-d)(b-a)(c-a)(c-b)(c-d)