Starting to fis the trapped rooks code