implemented an stupid ai system