add completet task method
Merge pull request #14 from shearnie/master

add complete task method