Update CheckSum.java

Test cases