Update first.py

First demo version of brain.  Works in python 2.7