Code to deal with movie data for IR project