assignment 3: add Brute and Fast