Changed Knight and Rook class to apply rules on moves