Add federated_learning.py — gap fix

#6