Added another brute force method

Fixed bug in 1st brute force method. 