I was using custom chips to make it, when I made it with nothing but the included AND gates it does work, but that kinda defeats the purpose of making your own chips. The way I did it was:
AND 4 - 4 and gates doing A0 AND B0 to A3 AND B3, outputting to OUT0-OUT3.
AND 8 - 2 AND 4s to expand it to 8 inputs and outputs
AND 16 - 2 AND 8s to expand to 16 inputs and outputs - this one would always output to OUT0 even though every chip prior was wired correctly.