cleaned up the logic in village.js and fixed a bug with updating
added death