separate testable functions from main.

preparing to unit-test this stuff.
documentation: hex strategies.
Merge branch 'master' of github.com:badgerman/atlantis1

Conflicts:
	atlantis.c