Update core.clj

comments on solution
Merge pull request #1 from alexott/patch-1

small comments about solution