initial commit of c++ function sorter