Kind of hard to figure out without actually seeing the problem. It could be a number of things. Does it leak? The heat was cold because it either wasn't circulating coolant, or it didn't have any in it. And did I read it right when you said you drove it until it cut off? If that is the case, you most likely have some major engine damage.