Grice's submission of Bash Matrix | CodeChef