Code finish for 10 Coloum Format

Finish most of the coding but not working