Housing problems are costing the council huge amounts of money.