removed testing code
removed commented code
warning main return int
rook penalty simplified
Rook mobility changed
simplification
some warning fixed
sync with master