In 1866, Hiram Maxim, an American engineer, tried out a rifle for the first time and found himself wondering how he could make it better. The result was the Maxim gun – the word’s first recoil-operated machine gun.