added brute force solution to problem 7, updated Main/ProblemFactory to run it