latest update

- working engine

Not Complete
1) Gui
2) heuristics (will never be perfect)