added castling class, still needs changes