Avoid stepping over blocked pieces.
Test for capture.
Rook's possiblity to capture other pieces
Some refactoring.
Clean-up
Added new position generation for rook.