fixed bug with logic. guessing should work correctly now.
starting on backtracking.
backtracking works.