Added isOutofBounds check, switch player, draw for debugging and resetBoard also for debug