added arraylist squares