Shitty version 1 of creating a working AI.