think i finished with castling but I am calling castle which moves pieces from within the validMove function which is not coool