small fixes in AI
fixed rook infinite move
fixed small things in piece, just to be cleaner
fixed up main
merged