The study of the Quran and the Hadith thrived in such a scholarly atmosphere. What library did Avicenna found?