Update formation.py

comments and descritions