change answer.txt to answer1.txt
add Java solution to #1