Bug fixes to gameRoutine

Now gameRoutine is working for Checkers and were solved some problems
with Array out of bound