Added main function and added getAnswerBytes method.