Have You Been Hexed?: Recognizing and Breaking Curses