Improve concat and added simple test for square numbers