added material for lecture 10 about java methods