AI programming assignment