added Weapon.java class for modeling weapons and attacks