Despite a primitive brain, the octopus possesses an intricate system that helps it decide which tentacle to masturbate with.