Teaching Machines to Think Like Humans