Using AI to find new uses for drugs in treating diseases