Progress on the AI script for calculating

It checks, around  Up and Left for tokens and add them in an array.
Will have to test in the 4 directions and more. Later on it will have
to calculate the number of tokens.