Initial commit for problem 24