Added Map Logic for Safe and Dangerous Maps