Add stop function

Fix Griewank function
Separate main method to eval and accurate_test
Add max_eval on accurate_test