A study on routing considering congestion and energy consumption for Ad-hoc Networks in an Emergency