Implemented function for printing simularity between two Strings