I don't see why you'd spend hours writing a system utility to close apps on a Mac that provides a perfectly easy to use keyboard shortcut.