Implement multiway join 5clique
twintwig 5clique partially.

Change-Id: I75fe076037b2c6a4aa2fb7cd28a2c888312baef1