AC-3 Algorithm implemented.

Need to work on Backtrack algorithm next.