implemented Addable class and made Position, MeleeData and Agent instances of it