then great was the wrath and lamentation of the dwarves of nogrod for the death of their kin and their great craftsmen , and they tore their beards , and wailed ; and long they sat taking thought for vengeance .