updated display inventory function to include player's inventory