Fixed possible moves calculator. Removed unused options from menu. Made some optimizations.
Fixed possible movements counter. Added impossible game and end of game detector.