Formatted the code samples