Made changes to the answer.java