finished learning of CRF weights

original crf.py saved as crf_origin.py
crf_test.py is just a test
main.py train() my part finished
crf.py modified to accord with main
changed cal feature function and each cal helper function accordingly