Philosoraptor

if a programmer writes a program to think for itself,

is the programmer or the program responsible for it's actions?