Finished Brute.java