moved DP solutions to another two files, keep this one as brute force