Maekawa's algorithm is an algorithm for mutual exclusion on a distributed system. The basis of this algorithm is a quorum like approach where any one site needs only to seek permissions from a subset of other sites.
Quorum set (or request set)
$\forall i \forall j, R_i \cap R_j \ne \phi$ $\forall i, S_i \in R_i$ $\forall i, | R_i | = K$ - Site
$S_i$ is contained in exactly$K$ request sets
Therefore,
If the number of site can be represented as
$ git clone https://github.com/utkarsh512/maekawa.git
$ cd maekawa
$ make
$ ./maekawa