A Java chess program