adding strife.py
Copying functions from strife.ipynb to strife.py

Also adding a function that counts neighbors of central strain. It's a
measurement of how homogenized or heterogenized the board is.