Seeing Istanbul, Turkey in 20 hours

On a flight from Spain to Nepal, we had an extra long layover in Istanbul, Turkey. We had the option of a 12 hour layover or a 20 hour layover. We opted for the longer, to give us as much time to explore Istanbul on this "free" stop. Also, since it was