Finish basic implementation of bruteforce