Started first attempt for brute force solver.