added dropItem function to take equipped items out of player_inv array