Create TestTaskA.java of Question2Algo2

TestTaskA of question2 of Algo2