F# implementation of a robot indexing poems of Alexander Pushkin