You could use a trap here is how to make it:
U in something that only has one entrance
solar or wind power
a moater
a saw blade
Zomibes walk toward u and get decapitated when they go though the machine. In fact setting some up as traps would be a great way to cleanse an area of zombies.