Update EditList.java

Added comments, trimmed the code