A simple outline of a chess program in Java