  This work deals with the Maximum Independent Set ($\mathcal{MIS}$) formation
problem in a finite rectangular grid by autonomous robots. Suppose we are given
a set of identical robots, where each robot is placed on a node of a finite
rectangular grid $\mathcal{G}$ such that no two robots are on the same node.
The $\mathcal{MIS}$ formation problem asks to design an algorithm, executing
which each robot will move autonomously and terminate at a node such that after
a finite time the set of nodes occupied by the robots is a maximum independent
set of $\mathcal{G}$. We assume that robots are anonymous and silent, and they
execute the same distributed algorithm.
  Previous works solving this problem used one or several door nodes through
which the robots enter inside the grid or the graph one by one and occupy
required nodes. In this work, we propose a deterministic algorithm that solves
the $\mathcal{MIS}$ formation problem in a more generalized scenario, i.e.,
when the total number of required robots to form an $\mathcal{MIS}$ are
arbitrarily placed on the grid. The proposed algorithm works under a
semi-synchronous scheduler using robots with only 2 hop visibility range and
only 3 colors.
