Made bodyFormation accept a numPieces parameter