#APLQuest 2017-10: Write a function that will reshape a given array into the smallest square matrix that will contain all the elements of the argument, padding with additional elements if necessary (see apl.quest/2017/10/ to test your solution and view ours).
