(Algorithms1, week3) Implmentations for Point and Brute