What had Avicenna memorized by the age of 12?