converted print_vector to accept a const char*
accelerometer test program now accepts and processes multiple input files