Start coding one-liners method for matrices