Chess program I wrote a long time ago (no AI)