Added simple comments, fixed some stylistic issues (spacing,
single-quoted strings, etc).