Updated core.clj

Removed mutable state from core.clj.