My task with matrix