Medieval Mosque Shows Amazing Math Discovery