Got the movement working appropriately for sliding move method. Had an off by one error in a loop.
finished checkmate function