Dark thoughts occur to many people. Taking this up with therapist could help get a handle on this before it potentially becomes a dangerous situation.
Here is an article that talks about how a couple people tried various therapies for dark thoughts they were having.
Dark Thoughts : NPR
Being around another sadistic person can be an influence that feeds this kind of thinking.
Supportive people here at Psych Central have helped me over some tough times.