Refactored. Added castling logic. Implemented a simple person to person game in the console.