Restoring encodeBigrams() to OneClick.py

I noticed bigrams were not being encoded? Added encodeBigrams() function back to OneClick.py