secret code
def command(history,memory):
kill = 0
if history.shape[1] >= 2:
if memory or history[1,-1] == 1
kill = True
if history[1,-1] == 0 and
kill = False
choice = "kill"
if backpack:
history.shape[1] >= 1 and
command = "end"
else:
if history.shape[1] >= 1 and
choice = "N/A"
return command, kill