Fixed code sample formatting issues