Added trim.py, a script to trim data files at specified indices.