Added AI to dwarves