cmake file and completed hard_4 for 3 numbers