Update inventorygame.py

Old problem solved, commands are flexible.
New problem: items can be picked up twice in a row- this is silly, illogical, and doesn't further the goals of the game. Next fix will be this.