Added check for whether generated numbers can solve to 24 before printing