[CTCI] Matrix zero problem

Signed-off-by: Siddharth Goel <siddharth98391@gmail.com>