Update Format

Update table of contents
Update code format
Remove typos