array(program) Program.inherit_list(program p)
Returns an array with the programs that p has inherited.