Added my brute-force approach