Delete unused and wrong code in main.cpp
fix comment error
modifying Rect(int, int, int, int) and Update funcion is not completed
modifying Rect(int, int, int, int) and Update funcion is not completed