Create weightedAverages.java

Hopefully this worked... the upload I mean, cos I didn't use command prompt :P