Add RSpec tests for gamedetails and heuristic
Make stuff testable, every test passes
Add comments, fix EMPTY_CELL bug
Make main prettier