It a simple application of graphics in c++