corrected control functions : is_valid is_complete repeated_element_in (row column square) and change ensure for make function