That was a great episode, the first in a three-part arc that will either bring heavy losses for the Machine Gang, or losses for Samaritan's team (hoping that blonde fembot gets whacked). The last time they did a three-part story arc, Carter ended up dead--I'm dreading they might kill off Root or Shaw this time.
Episode schedule for this three-part arc:
ep10: "The Cold War" airdate - Dec 16, 2014
ep11: "If-Then-Else" airdate - Jan 6, 2015
ep12: "Control Alt Delete" airdate - Jan 13, 2015