Project Euler #212: Combined Volume of Cuboids