attack() method logic added . getDPS() method added to Weapon class