a couple of python list problems