A Case Study in (Mem)Brane Computation: Generating Squares of Natural Numbers