Modify plan.java

I add a method  named getTitle to the Plan class