Update and format custom federated algorithms colab.
Update and format custom federated algorithms colab.

- Use Python3 ordered kwargs for OrderedDict construction.
- Collapse tf.function and tff.tf_computation decorator for the case without
  variables.

PiperOrigin-RevId: 295153698

tensorflow/federated,tensorflow/federated,tensorflow/federated