Knights.java addition