Solve 5x5 grid problem. Delete useless comment.