First thing I don't believe you bought a car without having it checked out. Did you happen to ask the previous owner why they were selling or just want to buy a car? Did they do recommended services/maintenance or were they having the same problems and just wanting to unload it on someone? You should at least have a power train warranty but IDK if that applies here. Since I don't have a diesel I cannot offer much on that front.