Can you wirte a python program that uses the second implementation in a demo that gives a player random items please?