Aberystwyth University Buckling of a linear chain of hard spheres in a harmonic confining potential