added rspec
added rook logic
updated tests