find out all the pigskins in a matrix problem