Various patterns drawn using c++