finish geomtry.py
code modified