moved common functions to lib/euler_functions.rb