Corn and beans finish the week higher