how were cartoons first made