Implementation of the level set method for continuum mechanics based tumor growth models