A Method for Nonsmooth Unconstrained Minimization Problems