putting in some fundaments before coding a rudimentary AI