In the function takeinput if i remove the 3 i get an error. My question what to do if i want to use this function to take in input for a different array whose column length