Added some logic to Rook class