Java solutions to several USACO problems