Naive Hex implementation