solved Problem 44, wasn't sure how fast brute force would run but it was decently fast