Little chess game in java