The Hebrew People were great story tellers, and they taught by parables.
I don't believe that these stories were meant to be taken literally. They were intended to show us the way to live, and to love and respect God. In every story told in Genesis there is a lesson to be learned, and to look for logic in writings which were based on faith and spiritual values is like looking at the food on your plate and trying to figure out where it came from without bothering to taste and eat it! It is like studying a tree instead of looking beyond to the magnificent forest in which it grows.
In any spiritual writing, you have to look beyond the words, beyond the 'story' and find the real treasure that lies hidden within the message.
Facts are stubborn things; and whatever may be our wishes, our inclinations, or the dictates of our passions, they cannot alter the state of facts and evidence.