various changes, revised the index and reverse list functions in 380.5.py