Fixed wrong quotes in comments and made code follow style guide