added CYK.py (optimised for viterbi) and viterbi.py.