Added runtime visualizing of brute force algorithm

Needed to change the brute force algorithm. Refactored to allow the
request animation frame to work in between recursive calls (also, no
more recursive calls)