Create LinkWeights.java