Added similarity function
Updated parser submodule