Refactored code to use arrays instead of hard-coded numbers, and added a sell value to weapons, armors and potions