added ABC Problem

Added two implementations of the ABC problem.
What about using `final.as_slice() == input`? Even though performance is not important in this example, using `as_slice` is cheaper and should be preferred.