Updated surrender method, so that it returns the name of the surrendering player
Added surrender popup