arranging squares