Solving optimization problems by algorithms of evolution computing in Java