Parsed the example AIs into Awesomescript

Also fixed lots of bugs