add solution for double squares