added explainCode.java