modify graphic_object.cpp to check errors
Merge branch 'developing_branch' of https://github.com/cecilulysess/GraphicLibrary into developing_branch