framework to solve problems of a particular nature using bruteforce