created testfile.  got functions working.  still need to write sort.