ejudge2 Task2 initial implementation