Starting solution to count num of squares
Solved via bruteforce
Starting code to count number of sticks remain after a cut
Solved using bruteforce via sort and subtract