Add utility function
Merge branch 'master' of github.com:JuulArthur/ai2