Last changes to 02 assignment

made the heuristic method work. Works fine for small board,
but lasts forever for a bigger one.