find square matrix size by element list count
<p>Hi I need to calculate matrix size by count elements in array,
for example if I have 25 elements in list, I need get columns = 5 and row 5 in matrix,
If 26 elements 5 columns 6 rows etc. 
thank.</p>
