first try at building link grammar