Embeddability and the Word Problem