CLOSED - task 2: Interface for algorithms 
http://github.com/fferm/algo/issues/issue/2