Nick Buelich's submission of Counting Matrices | CodeChef