fixed indexing bug in p011.py and broken file names