Create answer.cpp

Pull request for me.