updated potential moves methods
fixed faulty logic checkmate method