City receives grant for code enforcement