Outdoors Evacuation Routes Algorithm Using Cellular Automata and Graph Theory for Uphills and Downhills