c++ program to draw octagons in a console window.