Basic stuff, frequency analysis, repeated phrase counting