added expected results to knap() example