updated encapsulation
Made Pick Farthest Number Pattern.
fixed an arror