Sourav Mallick's submission of Doofish Matrix | CodeChef