add method to return best task
Merge pull request #1 from bwaldvogel/master

add method to return best task