Makes diamond shape using C++