fixed a bug in bishop's moves