updated make move to work when tiles on board, updated
compilepermutations when tiles on board