A chess program, written in java