Added search to AI move.
added constructor to Problem. Problem clones parameter.
Fixed null objects.