added ABC Problem

Added two implementations of the ABC problem.