Add rook support, major bug fixes

Now rooks are also supported. There were some major bugs in
isValidMove(), which have been fixed.
test rook instead of bishop