Added move generation for bishop and queen.

Common method for testing one direction for rook, bishop and queen.