Making some progress putting in loops instead of brute forcing so much.

drew