Block placement with a Boltzmann machine