Numerical simulation of tumor spheroid dynamics