problem 24 started
realized simpler solution. commiting before removing old technique.
problem 24 solved