Changes function names to be more appropriate

ai.cpp compiles now
.
merge
Merge branch 'ai' of https://github.com/floft/sprouts into ai

Conflicts:
	ai.cpp