changes to pass tests
add limit(f::Function, a) interface