added has_item() to the player class, streamlined inventory management