finished solve problem in simple mode with ABT algorithm
waiting to be tested and debugged