Added Challenge 24 solution to A problem and preperation problem from last year