implemented algorithm in the create answer method
Merge pull request #79 from daanvc/master

implemented algorithm in the create answer method