Write a method named search(int value) that searches for a value, and returns the row the value is in, multiplied by the sum of the row.
If search is passed 2, it would return [6,12,18]
Requirements are as followed –
** use the following libraries if needed**
use readObject() and writeObject Methods from library if needed