main function
processing stemlist