Function for getting distance to edge of square
Merge branch 'master' of github.com:webarbeit/bot_simulation