Fixed incorrect instantiation, calling functions incorrectly, spelling
is_valid_puzzle() is better, but not working