Using AI to detect what can be built from your pile of Legos