Format code for better readability