code formatting

updated code formatting for all files