added C++ weapon class (weapon.h) and C++ example