Update ai.hs

License added