how does ninjutsu work magic