checkInDangerW is added

this function returns a char array containing all threatening pieces.