The machine gun was a nasty invention