tester optimised, common classes added
optimised brute force algorithm and added 'improved bruteforce' which works pretty well