what was the marching formation the romans used called and where did they get the idea?