compare binarynumbers by tolong instead of string.equals