Big data tool determines side effects of medicine