562. Longest Line of Consecutive One in Matrix (Medium)