added vertical, horizontal and diag blocks to ai