Create machinegun.cpp

version 1.0