I am trying to make a program that automates determining what size of pieces will fit in a given distance. Basically, I have a (for the purposes of this program, infinite) numbe